﻿@using admin.Model
@{
    ViewData["Title"] = "AuthorShow";
    Layout = "~/Views/Shared/_SmallWinLayout.cshtml";
    var author = Model as Author;
}

<div class="page-container">
    <form class="form form-horizontal" id="form-member-add">
        <div class="row cl">
            <label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>作者ID：</label>
            <div class="formControls col-xs-8 col-sm-9">
                <input type="text" class="input-text" value="@author.Id" readonly="readonly">
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>作者名：</label>
            <div class="formControls col-xs-8 col-sm-9">
                <input type="text" class="input-text" value="@author.Name" readonly="readonly">
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>是否签订合同：</label>
            <div class="formControls col-xs-8 col-sm-9">
                @if (author.IsContact.Equals("1"))
                {
                    <input type="text" class="input-text" readonly="readonly" value="已签">
                }
                else
                {
                    <input type="text" class="input-text" readonly="readonly" value="未签">
                }
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-4 col-sm-3">联系地址：</label>
            <div class="formControls col-xs-8 col-sm-9">
                <input type="text" class="input-text" readonly="readonly" value="@author.Address">
            </div>
        </div>
        <div class="row cl">
            <div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-3">
                <button onClick="layer_close();" class="btn btn-primary radius" type="button">&nbsp;&nbsp;确定&nbsp;&nbsp;</button>
            </div>
        </div>
    </form>
</div>

